package com.pagoda.nerp.trade.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class MdMessage {
    /**
     * 供应商消息ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 供应商ID
     *
     * @mbg.generated
     */
    private Integer vendorId;

    /**
     * 供应商代码
     *
     * @mbg.generated
     */
    private String vendorCode;

    /**
     * 消息类型（
            
            A 质检报告通知，
            B 质检员通知，
            C 送检结果通知）
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 消息标题
     *
     * @mbg.generated
     */
    private String title;

    /**
     * 消息创建时间
     *
     * @mbg.generated
     */
    private Date msgCreateTime;

    /**
     * 消息链接URL
     *
     * @mbg.generated
     */
    private String clickUrl;

    /**
     * 消息状态
            （Y 已读， N 未读）
     *
     * @mbg.generated
     */
    private String status;

    /**
     * 消息属性
            Y 可点击
            N 不可点击
     *
     * @mbg.generated
     */
    private String attribute;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date modifyTime;

    /**
     * 消息正文
     *
     * @mbg.generated
     */
    private String msgContent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVendorId() {
        return vendorId;
    }

    public void setVendorId(Integer vendorId) {
        this.vendorId = vendorId;
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode == null ? null : vendorCode.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getMsgCreateTime() {
        return msgCreateTime;
    }

    public void setMsgCreateTime(Date msgCreateTime) {
        this.msgCreateTime = msgCreateTime;
    }

    public String getClickUrl() {
        return clickUrl;
    }

    public void setClickUrl(String clickUrl) {
        this.clickUrl = clickUrl == null ? null : clickUrl.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent == null ? null : msgContent.trim();
    }
}